<?php
//session_start();
header("content-type:text/html;charset=utf-8");//设置编码
//设置货架
$good1=array("pid"=>1,"pname"=>"刘备","price"=>"888","src"=>"../img/1.jpg","store"=>100);
$good2=array("pid"=>2,"pname"=>"关羽","price"=>"777","src"=>"../img/2.jpg","store"=>100);
$good3=array("pid"=>3,"pname"=>"张飞","price"=>"666","src"=>"../img/3.jpg","store"=>100);
$good4=array("pid"=>4,"pname"=>"赵云","price"=>"555","src"=>"../img/4.jpg","store"=>100);
$good5=array("pid"=>5,"pname"=>"诸葛亮","price"=>"444","src"=>"../img/5.jpg","store"=>100);
$good6=array("pid"=>6,"pname"=>"吕布","price"=>"333","src"=>"../img/6.jpg","store"=>100);
$good7=array("pid"=>7,"pname"=>"貂蝉","price"=>"222","src"=>"../img/7.jpg","store"=>100);
$good8=array("pid"=>8,"pname"=>"大桥","price"=>"111","src"=>"../img/8.jpg","store"=>50);
$good9=array("pid"=>9,"pname"=>"小桥","price"=>"999","src"=>"../img/3.png","store"=>20);
$good10=array("pid"=>10,"pname"=>"孙权","price"=>"998","src"=>"../img/a.jpg","store"=>30);
$good=array($good1,$good2,$good3,$good4,$good5,$good6,$good7,$good8,$good9,$good10);
//print_r($good);
?>